package com.one.oa.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.one.oa.entity.User;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


/**
* @author Lnemo
* @description 针对表【t_user(1.会员表)】的数据库操作Mapper
* @createDate 2023-03-25 08:49:30
* @Entity com.one.oa.domain.User
*/
public interface UserDao extends BaseMapper<User> {
    @Update("update t_user set password=#{pass},update_time=now() where phone=#{phone}")
    int updatePass(@Param("phone") String phone, @Param("pass") String pass);

}




